﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Project.Models.System.JurisdictionFile
{
    /// <summary>
    /// 角色与菜单
    /// </summary>
    public class RoleMenu:BaseEntity
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        public long RoleId { get; set; }
        [SugarColumn(IsIgnore = true)]
        public RoleInfo RoleInfo { get; set; }

        /// <summary>
        /// 菜单Id
        /// </summary>
        public long MenuId { get; set; }
        [SugarColumn(IsIgnore = true)]
        public MenuInfo MenuInfo { get; set; }
    }
}
